f33e15
@@ -153,7 +153,7 @@
public static CharTypeInfo getCharTypeInfo(ASTNode node)
 
   static int getIndex(String[] list, String elem) {
     for(int i=0; i < list.length; i++) {
-      if (list[i].toLowerCase().equals(elem)) {
+      if (list[i] != null && list[i].toLowerCase().equals(elem)) {
         return i;
       }
     }
